<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>切换城市</title>
  <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
  <meta content="yes" name="apple-mobile-web-app-capable"/>
  <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
  <meta content="telephone=no" name="format-detection"/>
  <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
  <script src="__STATIC__/layer/layer.js"></script>
</head>
<body>
    当前城市：{if condition="empty($city)"}当前未选择城市{else /}{$city}{/if}
    <div>切换城市：
    {foreach name="list" item="v"}
        <a href="{:url('Changestore/get_store')}?city_key={$v.key}">{$v.value}</a>
    {/foreach}
    </div>
</body>
</html>